package com.cg;

import com.cg.entity.User;
import com.cg.service.UserService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
class AnnotationProxy {

    @Autowired
    private UserService userService;

    @Test
    public void testAspect(){
        
        userService.add(User.builder().userId(1).userName("漳卅").build());
    }

}
